function Path(b){var a=b.match(/__[a-zA-Z0-9]+$/);this.stringPath=b;if(a){this.functor=a[0].substring(2);this.stringPathParts=this.stringPath.substring(0,this.stringPath.length-a[0].length)}else{this.stringPathParts=this.stringPath}}Path.getSiblingId=function(c,b){if(b==null||b==0){b=1}if(b==-1){b=""}var a=c.lastIndexOf("_");return c.substring(0,a)+"_"+b};Path.prototype={isNodePath:function(){return(this.functor==null)},getNodePath:function(){return this.stringPathParts},getPrototypePath:function(){return this.stringPathParts.replace(/_(\d+)/g,"_0")},getString:function(){return this.stringPath}};